package com.anlu.base;

import com.anlu.base.visitor.ConfigureForDosVisitor;
import com.anlu.base.visitor.ConfigureForUnixVisitor;
import com.anlu.base.visitor.Hayes;
import com.anlu.base.visitor.Zoom;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );

        var conUnix = new ConfigureForUnixVisitor();
        var conDos = new ConfigureForDosVisitor();
        var zoom = new Zoom();
        var hayes = new Hayes();

//        hayes.accept(conDos); // Hayes modem with Dos configurator
//        zoom.accept(conDos); // Zoom modem with Dos configurator

//        hayes.accept(conUnix); // Hayes modem with Unix configurator
        zoom.accept(conUnix); // Zoom modem with Unix configurator
    }
}
